package com.qf.exce;

/*
 *@Description:自定义异常:当前异常不满足于使用时创建自定义异常
 *@author:刘哥
 *@Date:86180 2022/8/31 20:09
 */
public class MyBaseException extends RuntimeException {
    private int code;

    public MyBaseException(String message,int code) {
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
